package com.system.common.service.role;

import com.system.common.request.BaseReq;
import com.system.common.request.role.AssignPurReq;
import com.system.common.request.role.SaveRoleReq;
import com.system.common.response.BaseResp;
import com.system.common.response.PageResp;

import java.util.List;

public interface RoleService {

    PageResp search(SaveRoleReq req);

    BaseResp saveRole(SaveRoleReq request);

    BaseResp delRole(BaseReq request);

    List<Long> getRoleIdByPersonId(Long id);

    PageResp queryAllRole(BaseReq req);

    BaseResp assignPur(AssignPurReq req);

}
